package com.chinasoft.carservice;

import com.chinasoft.feignclient.client.CarWithUserClient;
import com.chinasoft.feignclient.client.RentalClient;
import com.chinasoft.feignclient.client.UserClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(clients = { UserClient.class, RentalClient.class, CarWithUserClient.class})
public class CarServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(CarServiceApplication.class, args);
    }
}
